#ifndef ADDDOCUMENTDLG_H
#define ADDDOCUMENTDLG_H

#include <QWidget>
#include <QtWidgets>
namespace Ui {
class AddDocumentDlg;
}

class AddDocumentDlg : public QWidget
{
    Q_OBJECT

public:
    explicit AddDocumentDlg(QWidget *parent = 0);
    ~AddDocumentDlg();

signals:
    void ok_clicked(const QString& title,const QString& content);
    void cancel_clicked();

private slots:
    void on_bCancel_clicked();

private slots:
    void on_bOK_clicked();

private:
    Ui::AddDocumentDlg *ui;

public:
    static void showDlg(AddDocumentDlg* dlg);
};

#endif // ADDDOCUMENTDLG_H
